package com.action.workcall;
import com.db.workcall.*;

public class DeleteAction {
	private int sabun;
	private WorkCallDAO callDAO;
	
	public void setCallDAO(WorkCallDAO callDAO) {
		this.callDAO = callDAO;
	}
	public void setSabun(int sabun) {
		this.sabun = sabun;
	}
	
	public String execute() throws Exception{
		System.out.println(sabun);
		callDAO.callDelete(sabun);
		return "success";
	}
}
